package com.ctshk.rpc.custom.req.quotation;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 报价单列表
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-01-18
 */
@Data
@ApiModel(value="QuotationListReq", description="报价单列表")
public class QuotationListReq extends PageReq implements Serializable {

    @ApiModelProperty(value = "业务类型(3出境定制 4入境定制 5會議會獎)")
    private Integer departType;

    @ApiModelProperty(value = "报价单号/标题")
    private String quotationNumber;

    @ApiModelProperty(value = "客户id")
    private Long bigClientId;

    /*@ApiModelProperty(value = "销售id")
    private Long salesPersonId;*/

    @ApiModelProperty(value = "opid")
    private Long opId;

    @NotNull(message = "请选择报价状态")
    @ApiModelProperty(value = "报价状态。0 全部,1 继续询价,2 已报价,3 待开团,4 已开团",required = true)

    private Integer quotationStatus;
    @NotNull(message = "请选择报价方式")

    @ApiModelProperty(value = "报价方式(0 全部,1 自由报价,2 行程报价)",required = true)
    private Integer quotationType;

    @ApiModelProperty(value = "开始时间")
    private LocalDate beginDate;

    @ApiModelProperty(value = "结束时间")
    private LocalDate endDate;
}
